package com.eshipenet.shipnet.shiprpc.service;

import com.eshipenet.shipnet.ship.FindAllResult;
import com.eshipenet.shipnet.ship.ShipGovernor;
import org.apache.ignite.services.Service;
import squirrel.JSONQuery;

public interface ShipGovernorService extends Service {

  FindAllResult findAll(JSONQuery jsonQuery, int limit, int offset);
  ShipGovernor createOne(ShipGovernor shipGovernor);
  ShipGovernor updateOne(String id,ShipGovernor shipGovernor);
  ShipGovernor deleteOne(String id);
  int getShipGovernorCountById(String id);
}